package com.tempjob.common.dto.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 系统角色
 *
 * @TableName sys_role
 */
@Data
@ApiModel
public class QueryRoleDTO implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("角色名称")
    private String name;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty(" 状态(1:正常0:弃用)")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除(1未删除；0已删除)")
    private Integer deleted;

    private String startTime;

    private String endTime;

    @ApiModelProperty(value = "每页显示条数")
    private int size = 10;

    @ApiModelProperty(value = "页码")
    private int page = 1;

    @ApiModelProperty(value = "排序字段")
    private String order;

    @ApiModelProperty(value = "升序/降序 asc/desc")
    private String sort;

    private static final long serialVersionUID = 1L;
}
